aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-12-16 14:54:24 +0000
committerMichael Williamson <mike@zwobble.org>2023-12-16 14:54:24 +0000
commit713c0f6f854be3c52e1c8a53089b043148877159 (patch)
tree9bb68bc5860d3d574ad3863786229d757e2424fc /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parentb92b55118dcf04c75b1e2b89ded576d889c2b750 (diff)
Add other GC header fields
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected12
1 files changed, 6 insertions, 6 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 29af5f7c..70ee5036 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -11,14 +11,14 @@ Compilation unit elements:
memory-load
(local "local__a")
pointer=(local "closurePointer__0")
- layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
+ layout=(struct ((struct (data-ptr int int int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
offset=(1 2 0)
)
(
memory-load
(local "local__b")
pointer=(local "closurePointer__0")
- layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
+ layout=(struct ((struct (data-ptr int int int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
offset=(1 2 1)
)
(return (local "local__a"))
@@ -34,25 +34,25 @@ Locals:
Instructions:
(
- (alloc-heap (local "closurePointer__f__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))))
+ (alloc-heap (local "closurePointer__f__0") (struct ((struct (data-ptr int int int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))))
(
memory-store
pointer=(local "closurePointer__f__0")
- layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
+ layout=(struct ((struct (data-ptr int int int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
offset=(1 0)
value=(function-ptr "shed__function__f__0")
)
(
memory-store
pointer=(local "closurePointer__f__0")
- layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
+ layout=(struct ((struct (data-ptr int int int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
offset=(1 2 0)
value=(local "local__a")
)
(
memory-store
pointer=(local "closurePointer__f__0")
- layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
+ layout=(struct ((struct (data-ptr int int int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
offset=(1 2 1)
value=(local "local__b")
)